//
//  WBComposeViewController.swift
//  weibo
//
//  Created by wenquan wang on 2/2/17.
//  Copyright © 2017 wenquan wang. All rights reserved.
//

import UIKit

class WBComposeViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
        view.backgroundColor = UIColor.cz_random()
        navigationItem.leftBarButtonItem = UIBarButtonItem(title: "Close", target: self, action: #selector(close))
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    @objc private func close()
    {
        dismiss(animated: true, completion: nil)
    }

}
